package com.maiworld.seller.service;

import java.util.List;
import java.util.Map;

import com.maiworld.pojo.TbConsume;

import entity.PageResult;

public interface ConsumeService {

	//添加或加少金币
	public Map<String, Object> updateStudent(Long sid,String flag,String coinsNum);
	
	public Map<String, Object> findOne(String status, String typelog);
	
	public List<TbConsume> findAll();
	
	public PageResult findPage(int pageNum, int pageSize);
	
	public void add(TbConsume consume);
	
	public void update(TbConsume consume);
	
	public TbConsume findOne(Long id);
	
	public void delete(Long[] ids);
	
	public PageResult findPageConsume(TbConsume consume, int pageNum, int pageSize);
	
	
	//获得/消费金币多少
/*	public List<TbConsume> findAll();
	
	public TbConsume findOne(Long id);*/
}
